This repository contains HashiCorp Packer templates to deploy Windows Server 2019 UEFI and secure boot in VMware vSphere (with vCenter), using the vsphere-iso builder.
These templates creates the Template (or VM) directly on the vSphere server and install the latest VMware Tools.
- autounattend.xml --> Answer file for unattended Windows setup
- credentials.json --> Credential file
- windows2019.json --> Windows Server 2019 Packer JSON file Base
Scripts:
- scripts/disable-network-discovery.cmd --> Script to Disable network discovery
- scripts/disable-server-manager.ps1 --> Script to Disable Server Manager
- scripts/disable-winrm.ps1 --> Script to Disable WinRM
- scripts/enable-rdp.cmd --> Script to Enable Remote Desktop
- scripts/enable-winrm.ps1 --> Script to Enable WinRM
- scripts/install-vm-tools.cmd --> Script to Install VMware Tools
- scripts/set-temp.ps1 --> Script to Set Temp Folders
- scripts/build.ps1 --> Script to disable SSL 1.0, 2.0, 3.0 TLS 1.0, 1.1, Windows Firewall and CVE-2013-3900 Mitigation
Tested with VMware ESX 6.7 and VMware ESX 7.0 | User: Administrator | Password: S3cr3t0!
- Packer --> https://www.packer.io
- Packer plugin --> https://github.com/rgl/packer-plugin-windows-update/releases
execute packer build windows2019.json